<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="taglibs.jsp" %>
		<div id="hd">
			<b><a href="jobs.action">任务</a></b>
			<b><a href="job-search.action">历史</a></b>
			<b><a href="catalogs.action">目录</a></b>
			<b><a href="job-confs.action">定义</a></b>
			<b><a href="scheduler.action">调度</a></b>
			<b><a href="pools.action">线程池</a></b>
<c:if test="${pageContext.request.userPrincipal!=null}">
			<span style="width: 350px;display: inline-block;">&nbsp;</span>
			用户：<b>${pageContext.request.userPrincipal.principal.displayName}</b>，
			组：<select><c:forEach var="role" items="${pageContext.request.userPrincipal.principal.authorities}">
				<c:if test="${fn:startsWith(role.authority, 'GROUP_') }"><option>${fn:substringAfter(role.authority, 'GROUP_')}</option></c:if>
			</c:forEach></select>
			<b><a href="j_spring_security_logout">退出登录</a></b>
</c:if>
		</div>
		<hr>